package com.yk.mr.service.manage.api;

import com.jcraft.jsch.JSchException;

import java.util.Map;

/**
 * Project Name:cykmr
 * File Name:IJobManageService
 * Package Name:com.yk.mr.service.manage.api
 * Date:2017/10/17 14:38
 * Author:zhangshaoyang
 * Description:
 * Copyright (c) 2017, 重庆云凯科技有限公司 All Rights Reserved.
 */
public interface IJobManageService {
    Map<String,Object> startJob(String jobId, String clusterId) throws JSchException;

    Object stopJob(String jobId);

    Object queryProcessState(String jobId);
}
